Maintainability Dynamic Metrics Data Collection Based on Aspect-oriented Technology
نویسندگان
چکیده
The increase dependence on software aspects has led the society to emphasize the importance of software quality and metrics. At present there are two categories of quality metrics; dynamic and static. Although dynamic metrics can provide a clearer insight into the software quality issue; it is observed that static metrics are often used for such a purpose. This is due mainly to the technical difficulties associated with the collection of dynamic metrics. One of the known issues when dealing with dynamic metrics is the need for instrument code by inserting points for data collection. This is a very tedious and counterproductive task. Aspect-Oriented Programming (AOP) is a promising technology that is currently used to add cross-cutting concerns to the software applications.AOP can be easily used to transparently instrument the code at compile-time. This work proposes AOP as a technique that can be used for collecting software maintainability dynamic metrics data. Therefore, an AOP-based framework for collecting dynamic coupling metric has been designed, implemented; and evaluated. Evaluation results showed that the framework is a reasonable approach for collecting a maintainability dynamic metrics. This approach allowed for the total separation of the metric’s code (the metric aspect) from the application’s source code. Thus, the AOP-based framework provides an effective way for the transparent collection of a maintainability dynamic metrics data. The designed framework can be extended to fit other kinds of quality dynamic metrics.
منابع مشابه
Aspect-oriented software maintenance metrics: A systematic mapping study
Background: Despite the number of empirical studies that assess Aspect-Oriented Software Development (AOSD) techniques, more research is required to investigate, for example, how software maintainability is impacted when these techniques are employed. One way to minimize the effort and increase the reliability of results in further research is to systematize empirical studies in Aspect-Oriented...
متن کاملCoupling Metrics for Aspect-Oriented Programming: A Systematic Review of Maintainability Studies
Over the last few years, a growing number of studies have explored how Aspect-Oriented Programming (AOP) might impact software maintainability. Most of the studies use coupling metrics to assess the impact of AOP mechanisms on maintainability attributes such as design stability. Unfortunately, the use of such metrics is fraught with dangers, which have so far not been thoroughly investigated. T...
متن کاملAnalysis of Maintainability Metrics for Aspect Oriented Software & Object Oriented Software
University Institute of Engineering and Technology, Panjab University, Sector 25, Chandigarh INDIA _______________________________________________________________________________________ Abstract: Software maintenance is a valuable part of software development. Maintainability is one of the main aspects of software quality in software products. Object Oriented Programming has played a crucial r...
متن کاملMeasurement of Dynamic Metrics Using Dynamic Analysis of Programs
Dynamic analysis of programs is a prerequisite for the measurement of dynamic metrics. Dynamic analysis of an application involves the collection of run-time data from the run-time profiles or from dynamic models of the software system. Dynamic analysis is more precise specially in handling object-oriented features like inheritance, polymorphism, etc but is at the same time, slow and complex pr...
متن کاملCoupling Metrics for Aspect Oriented Programming -A Systematic Review
Metrics are an important technique in quantifying desirable software and software development characteristics of aspectoriented software development (AOSD). Coupling is an internal software attribute that can be used to indicate the degree of system interdependence among the components of software. Coupling is thought to be a desirable goal in software construction, leading to better values for...
متن کامل